package com.sams.service;

import java.util.List;

import javax.servlet.ServletOutputStream;

import com.github.pagehelper.PageInfo;
import com.sams.entity.Baseinfo;
import com.sams.entity.CountrySub;
import com.sams.entity.DataTotal;
import com.sams.entity.GovSub;
import com.sams.entity.Processmanage;
import com.sams.entity.SchoolSub;
import com.sams.entity.SocietySub;
import com.sams.entity.SpotUpload;

public interface DataTotalService {
	public PageInfo<CountrySub> selectCountrySub(Integer currentPage ,DataTotal dataTotal);
	//查询所有的镇
	public List<Baseinfo> selectAllZhen();
	//根据镇id 查询所有的学校
	public List<Baseinfo> selectByZid(Integer zid);
	//导出国家资助
	public void export(String[] titles, ServletOutputStream out,DataTotal dataTotal) throws Exception;
	
	//政府资助
	public PageInfo<GovSub> selectGovSub(Integer currentPage, DataTotal dataTotal);
	//政府资助下载
	public void exportGovSub(String[] titles, ServletOutputStream out,DataTotal dataTotal) throws Exception;

	//学校资助
	public PageInfo<SchoolSub> selectSchoolSub(Integer currentPage, DataTotal dataTotal);
	//学校资助下载
	public void exportSchoolSub(String[] titles, ServletOutputStream out,DataTotal dataTotal) throws Exception;

		
	//社会资助
	public PageInfo<SocietySub> selectSocietySub(Integer currentPage, DataTotal dataTotal);
	//社会资助下载
	public void exportSocietySub(String[] titles, ServletOutputStream out,DataTotal dataTotal) throws Exception;
	
	public PageInfo<Processmanage> selectProcess(Integer currentPage, DataTotal dataTotal);
	
	public PageInfo<SpotUpload> selectSpotUpload(Integer currentPage, DataTotal dataTotal);

}
